\hypertarget{class_lib_u_s_b_1_1_interface}{\section{Lib\-U\-S\-B\-:\-:Interface Class Reference}
\label{class_lib_u_s_b_1_1_interface}\index{Lib\-U\-S\-B\-::\-Interface@{Lib\-U\-S\-B\-::\-Interface}}
}


U\-S\-B \hyperlink{class_lib_u_s_b_1_1_interface}{Interface} class.  




{\ttfamily \#include $<$Interface.\-h$>$}

\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\hypertarget{class_lib_u_s_b_1_1_interface_a7f338d55d22c5f8916c7f60fdd53712c}{{\bfseries Interface} (std\-::shared\-\_\-ptr$<$ Interface\-Impl $>$ p\-Impl)}\label{class_lib_u_s_b_1_1_interface_a7f338d55d22c5f8916c7f60fdd53712c}

\item 
\hypertarget{class_lib_u_s_b_1_1_interface_a481db81fa12cf6324162be7bdf8a53bb}{int \hyperlink{class_lib_u_s_b_1_1_interface_a481db81fa12cf6324162be7bdf8a53bb}{Number} () const }\label{class_lib_u_s_b_1_1_interface_a481db81fa12cf6324162be7bdf8a53bb}

\begin{DoxyCompactList}\small\item\em Returns the interface number. \end{DoxyCompactList}\item 
\hypertarget{class_lib_u_s_b_1_1_interface_a52b602b375dc3e53b2c6c3bafb7be3d7}{int \hyperlink{class_lib_u_s_b_1_1_interface_a52b602b375dc3e53b2c6c3bafb7be3d7}{Alternate\-Setting} () const }\label{class_lib_u_s_b_1_1_interface_a52b602b375dc3e53b2c6c3bafb7be3d7}

\begin{DoxyCompactList}\small\item\em Returns the alternate setting for this interface. \end{DoxyCompactList}\item 
\hypertarget{class_lib_u_s_b_1_1_interface_a5e87fddb4aa5f1e859058ee9bd2a02f7}{int \hyperlink{class_lib_u_s_b_1_1_interface_a5e87fddb4aa5f1e859058ee9bd2a02f7}{Class} () const }\label{class_lib_u_s_b_1_1_interface_a5e87fddb4aa5f1e859058ee9bd2a02f7}

\begin{DoxyCompactList}\small\item\em Returns the interface class. \end{DoxyCompactList}\item 
\hypertarget{class_lib_u_s_b_1_1_interface_ab5fcfdab1f342dc7096c3f8b0d7ebd9b}{int \hyperlink{class_lib_u_s_b_1_1_interface_ab5fcfdab1f342dc7096c3f8b0d7ebd9b}{Sub\-Class} () const }\label{class_lib_u_s_b_1_1_interface_ab5fcfdab1f342dc7096c3f8b0d7ebd9b}

\begin{DoxyCompactList}\small\item\em Returns the interface Subclass. \end{DoxyCompactList}\item 
\hypertarget{class_lib_u_s_b_1_1_interface_a67ded20edf389d021702a4face74d70d}{int \hyperlink{class_lib_u_s_b_1_1_interface_a67ded20edf389d021702a4face74d70d}{Protocol} () const }\label{class_lib_u_s_b_1_1_interface_a67ded20edf389d021702a4face74d70d}

\begin{DoxyCompactList}\small\item\em Returns the interface Protocol. \end{DoxyCompactList}\item 
\hypertarget{class_lib_u_s_b_1_1_interface_a7e5da83b8c77cd2ec43da8e2917d2383}{std\-::wstring \hyperlink{class_lib_u_s_b_1_1_interface_a7e5da83b8c77cd2ec43da8e2917d2383}{Descriptor\-String} () const }\label{class_lib_u_s_b_1_1_interface_a7e5da83b8c77cd2ec43da8e2917d2383}

\begin{DoxyCompactList}\small\item\em Returns a string descriptor for this interface. \end{DoxyCompactList}\item 
\hypertarget{class_lib_u_s_b_1_1_interface_a6bb6c4d5cea3a7d6e6e927afd36a30c1}{int \hyperlink{class_lib_u_s_b_1_1_interface_a6bb6c4d5cea3a7d6e6e927afd36a30c1}{Num\-Alternate\-Settings} () const }\label{class_lib_u_s_b_1_1_interface_a6bb6c4d5cea3a7d6e6e927afd36a30c1}

\begin{DoxyCompactList}\small\item\em Returns the number of available alternate settings for this interface. \end{DoxyCompactList}\item 
\hypertarget{class_lib_u_s_b_1_1_interface_a38e98dcd6c3d9878f0070ddb207de1db}{void \hyperlink{class_lib_u_s_b_1_1_interface_a38e98dcd6c3d9878f0070ddb207de1db}{Claim} ()}\label{class_lib_u_s_b_1_1_interface_a38e98dcd6c3d9878f0070ddb207de1db}

\begin{DoxyCompactList}\small\item\em Claims this interface for use. \end{DoxyCompactList}\item 
\hypertarget{class_lib_u_s_b_1_1_interface_a3647afca72cc33775f2a55de354e1a99}{bool \hyperlink{class_lib_u_s_b_1_1_interface_a3647afca72cc33775f2a55de354e1a99}{is\-Claimed} () const }\label{class_lib_u_s_b_1_1_interface_a3647afca72cc33775f2a55de354e1a99}

\begin{DoxyCompactList}\small\item\em Returns T\-R\-U\-E if the interface is claimed. \end{DoxyCompactList}\item 
\hypertarget{class_lib_u_s_b_1_1_interface_a3ab6a262cc1475ea119729838aca6de6}{void \hyperlink{class_lib_u_s_b_1_1_interface_a3ab6a262cc1475ea119729838aca6de6}{Release} ()}\label{class_lib_u_s_b_1_1_interface_a3ab6a262cc1475ea119729838aca6de6}

\begin{DoxyCompactList}\small\item\em Releases this interface. \end{DoxyCompactList}\item 
\hypertarget{class_lib_u_s_b_1_1_interface_a804fe82696522bd7dee8d7629d95c24a}{void \hyperlink{class_lib_u_s_b_1_1_interface_a804fe82696522bd7dee8d7629d95c24a}{Set\-Alternate} (uint8\-\_\-t \hyperlink{class_lib_u_s_b_1_1_interface_a52b602b375dc3e53b2c6c3bafb7be3d7}{Alternate\-Setting}=0)}\label{class_lib_u_s_b_1_1_interface_a804fe82696522bd7dee8d7629d95c24a}

\begin{DoxyCompactList}\small\item\em Sets the requested alternate setting. \end{DoxyCompactList}\item 
\hypertarget{class_lib_u_s_b_1_1_interface_a80e1ca389b48139974d43f3c194f1c2a}{int \hyperlink{class_lib_u_s_b_1_1_interface_a80e1ca389b48139974d43f3c194f1c2a}{Num\-Endpoints} () const }\label{class_lib_u_s_b_1_1_interface_a80e1ca389b48139974d43f3c194f1c2a}

\begin{DoxyCompactList}\small\item\em Returns the number of endpoints this interface has. \end{DoxyCompactList}\item 
\hypertarget{class_lib_u_s_b_1_1_interface_a79d86a85d4ef11cada54bdc192a9e3b5}{std\-::shared\-\_\-ptr$<$ \hyperlink{class_lib_u_s_b_1_1_endpoint}{Endpoint} $>$ \hyperlink{class_lib_u_s_b_1_1_interface_a79d86a85d4ef11cada54bdc192a9e3b5}{get\-Endpoint} (int index)}\label{class_lib_u_s_b_1_1_interface_a79d86a85d4ef11cada54bdc192a9e3b5}

\begin{DoxyCompactList}\small\item\em Returns the specified endpoint. \end{DoxyCompactList}\end{DoxyCompactItemize}


\subsection{Detailed Description}
U\-S\-B \hyperlink{class_lib_u_s_b_1_1_interface}{Interface} class. 

The documentation for this class was generated from the following file\-:\begin{DoxyCompactItemize}
\item 
headers/Interface.\-h\end{DoxyCompactItemize}
